From 95788e94c14af6fd95cd00c84f217947484c3f4b Mon Sep 17 00:00:00 2001 From: Iqbal Ansari Date: Sat, 10 Oct 2015 18:05:09 +0530 Subject: [PATCH] Add a command to popup toplevel bindings --- which-key.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/which-key.el b/which-key.el index a7222ea0a6a..a66d4fcac96 100644 --- a/which-key.el +++ b/which-key.el @@ -555,6 +555,11 @@ bottom." (setq which-key-popup-type 'minibuffer which-key-show-prefix 'left)) +;;;###autoload +(defun which-key-toplevel () + (interactive) + (which-key--create-buffer-and-show nil)) + ;; Helper functions to modify replacement lists. (defun which-key--add-key-val-to-alist (alist key value &optional alist-name) -- 2.30.2